﻿<!DOCTYPE html>
<html>
<head>
    <title>logo  Cachalot DB</title>
</head>
<body>

    <h1 id="logo-cachalot-db"><img src="https://github.com/usinesoft/Cachalot/blob/master/Media/cachalot_64.png?raw=true" alt="logo" />  Cachalot DB</h1>
<p>Full documentation can be found <a href="https://github.com/usinesoft/Cachalot/blob/master/Doc/CachalotUserGuide.pdf">here&gt;&gt;</a></p>
<h1 id="cachalot-administration-console">Cachalot Administration Console</h1>
<p><strong>AdminConsole.exe</strong> is an advanced administration console whith powerfull autocompletion features.</p>
<p>Type <strong>help</strong> for all available commands, <strong>help command</strong> for detailed explanation. And do not hesitate to use TAB for autocompletion</p>
<h2 id="available-commands">Available commands</h2>
<table>
<thead>
<tr>
<th>Command</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>COUNT</td>
<td>count the objects matching a specified query</td>
</tr>
<tr>
<td>SELECT</td>
<td>get the objects matching a specified query as JSON</td>
</tr>
<tr>
<td>DESC</td>
<td>display information about the server process and data tables</td>
</tr>
<tr>
<td>CONNECT</td>
<td>connect to a server or a cluster of servers</td>
</tr>
<tr>
<td>EXIT</td>
<td>guess what?</td>
</tr>
<tr>
<td>READONLY</td>
<td>switch on the readonly mode</td>
</tr>
<tr>
<td>READWRITE</td>
<td>switch off the readonly mode</td>
</tr>
<tr>
<td>STOP</td>
<td>stop all the nodes in the cluster</td>
</tr>
<tr>
<td>DROP</td>
<td>delete ALL DATA</td>
</tr>
<tr>
<td>DELETE</td>
<td>remove all the objects matching a query</td>
</tr>
<tr>
<td>TRUNCATE</td>
<td>remove all the objects of a given type</td>
</tr>
<tr>
<td>DUMP</td>
<td>save all the database in a directory</td>
</tr>
<tr>
<td>RESTORE</td>
<td>restore data saved with the DUMP command (same number of nodes)</td>
</tr>
<tr>
<td>RECREATE</td>
<td>restore data saved with the DUMP command (number of nodes changed)</td>
</tr>
<tr>
<td>IMPORT</td>
<td>import data from an external json file</td>
</tr>
<tr>
<td>LAST</td>
<td>display information on the last actions executed by the server</td>
</tr>
<tr>
<td>SEARCH</td>
<td>full-text search</td>
</tr>
</tbody>
</table>


</body>
</html>